package com.ajaxdwr;

import java.util.ArrayList;
import java.util.List;

import com.bean.Student;

public class Test {
	public void test1() {
		System.out.println("test1被调用了");
	}

	public void test2(String name) {
		System.out.println("test2被调用，name参数是" + name);
	}

	public String test3() {
		return "test3被调用";
	}

	public String test4(String name) {
		return "test4被调用,name参数是" + name;
	}

	public String test5(String name, int age) {
		return "test5被调用，name参数是" + name + ",age参数是" + age;
	}

	public String[] test6() {
		return "赵六,23,陕西".split(",");
	}

	public List<String> test7() {
		List<String> list = new ArrayList<String>();
		list.add("陈七");
		list.add("30");
		list.add("北京市");
		return list;
	}

	public Student test8() {
		return new Student("王八", 25, "日本");
	}
}
